#ifndef ASTNODE_EXPRESSION_VARIABLE
#define ASTNODE_EXPRESSION_VARIABLE
#include "AstNodeExpression.h"
class AstNodeExpressionVariable : public AstNodeExpression
{
  public:
    
    AstNodeExpressionVariable(const char * varName);

    virtual void dump(int level);

    virtual void  compile(class CompileVisitor *);

    inline const char * getName() { return name; };

    //AstNodeExpressionVariable(u2 symbIndex);
    //virtual int  compile(ClassFile * klass, MethodInfo * method);
    //inline u2 getIndex() { return index; }
  private:
    //u2 index;
    char * name;
};
#endif
